package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 仓库最大最小安全库存对象 erp_warehouse_max_min_inventory_info
 *
 * @author cxl
 * @date 2024-07-26
 */
@TableName ("erp_warehouse_max_min_inventory_info")
@ApiModel (value = "仓库最大最小安全库存", description = "仓库最大最小安全库存")
@Data
public class WarehouseMaxMinInventoryEntity extends BaseVo {

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 库存组织 */
        @ApiModelProperty ("库存组织")
        @TableField ("inventory_org")
        @Excel (name = "库存组织")
        private String inventoryOrg;

        /** 仓库id */
        @ApiModelProperty ("仓库id")
        @TableField ("warehouse_id")
        @Excel (name = "仓库id")
        private String warehouseId;

        /** 仓库code */
        @ApiModelProperty ("仓库code")
        @TableField ("warehouse_code")
        @Excel (name = "仓库code")
        private String warehouseCode;

        /** 物料id */
        @ApiModelProperty ("物料id")
        @TableField ("material_id")
        @Excel (name = "物料id")
        private String materialId;

        /** 物料code */
        @ApiModelProperty ("物料code")
        @TableField ("material_code")
        @Excel (name = "物料code")
        private String materialCode;

        /** 物料名称 */
        @ApiModelProperty ("物料名称")
        @TableField ("material_name")
        @Excel (name = "物料名称")
        private String materialName;

        /** 基本单位 */
        @ApiModelProperty ("基本单位")
        @TableField ("base_unit")
        @Excel (name = "基本单位")
        private String baseUnit;

        /** 最小库存 */
        @ApiModelProperty ("最小库存")
        @TableField ("min_inventory")
        @Excel (name = "最小库存")
        private String minInventory;

        /** 最大库存 */
        @ApiModelProperty ("最大库存")
        @TableField ("max_inventory")
        @Excel (name = "最大库存")
        private String maxInventory;

        /** 安全库存 */
        @ApiModelProperty ("安全库存")
        @TableField ("safe_inventory")
        @Excel (name = "安全库存")
        private String safeInventory;

        /** 再订货点 */
        @ApiModelProperty ("再订货点")
        @TableField ("reorder_point")
        @Excel (name = "再订货点")
        private String reorderPoint;

        /** 经济订货批量 */
        @ApiModelProperty ("经济订货批量")
        @TableField ("economic_order_num")
        @Excel (name = "经济订货批量")
        private String economicOrderNum;

        /** 是否发送金蝶；1：是；2：否 */
        @ApiModelProperty ("是否发送金蝶；1：是；2：否")
        @TableField ("is_send")
        @Excel (name = "是否发送金蝶；1：是；2：否")
        private Integer isSend;

        /** 是否可用 */
        @ApiModelProperty ("是否可用")
        @TableField ("is_used")
        @Excel (name = "是否可用")
        private Integer isUsed;


        @ApiModelProperty ("备注")
        @TableField ("remark")
        @Excel (name = "备注")
        private String remark;

        @ApiModelProperty ("修改人")
        @TableField ("create_by")
        @Excel (name = "修改人")
        private String createBy;

        @ApiModelProperty ("创建时间")
        @TableField ("create_time")
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date createTime;

        @ApiModelProperty ("修改人")
        @TableField ("update_by")
        @Excel (name = "修改人")
        private String updateBy;

        @ApiModelProperty ("修改日期")
        @TableField ("update_time")
        @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
        @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        private Date updateTime;

}
